package se.teamscape.shared.rpc;

import net.customware.gwt.dispatch.shared.Result;
import se.teamscape.shared.model.Model;

/**
 * Generic result for fetching model implementations.
 * 
 * @author Andreas Borglin
 * 
 */
@SuppressWarnings("serial")
public class GetModelResult implements Result {

    private Model mModel;

    GetModelResult() {
    }

    public GetModelResult(Model model) {
        this.mModel = model;
    }

    public Model getModel() {
        return mModel;
    }
}
